package com.elite.xml.listener;

import org.springframework.context.ApplicationListener;

public class MyListener implements ApplicationListener<MyEvent> {

    @Override
    public void onApplicationEvent(MyEvent event) {
        System.out.println("我的事件触发了 = " + event);
    }
}
